import json
from fastapi import APIRouter, HTTPException,Depends
from typing import Optional, Any
from pydantic import BaseModel


# from schema.dev import CreateDev

# service
# from service import dev_service 

# from model.Img import Img


# 创建status router路由
dev_router = APIRouter()



@dev_router.get("/")
async def get_dev():
    pass
    

    # if name == "all":
    #     dev = await dev_service.get_devs()
    # else:
    #     dev = await dev_service.get_dev_by_name(name)
    # return dev 



    


@dev_router.post("/", response_description="编号 查询结果")
async def post_status():
    pass

# async def post_status(params: CreateDev):
    # await dev_service.create_dev(params)
    # return 'created successfully' 
    






